package com.example.icongyou.bean;

import com.google.gson.annotations.SerializedName;

public class MemberContributionBean {
    @SerializedName("studentId")
    private Long studentId;

    @SerializedName("studentName")
    private String studentName;

    @SerializedName("role")
    private String role; // LEADER 或 MEMBER

    @SerializedName("contributionRate")
    private Double contributionRate; // 贡献度百分比

    @SerializedName("completedTasks")
    private Integer completedTasks;  // 完成任务数

    @SerializedName("personalScore")
    private Double personalScore;    // 个人得分

    // 构造函数
    public MemberContributionBean() {}

    // Getter和Setter方法
    public Long getStudentId() { return studentId; }
    public void setStudentId(Long studentId) { this.studentId = studentId; }

    public String getStudentName() { return studentName; }
    public void setStudentName(String studentName) { this.studentName = studentName; }

    public String getRole() { return role; }
    public void setRole(String role) { this.role = role; }

    public Double getContributionRate() { return contributionRate; }
    public void setContributionRate(Double contributionRate) { this.contributionRate = contributionRate; }

    public Integer getCompletedTasks() { return completedTasks; }
    public void setCompletedTasks(Integer completedTasks) { this.completedTasks = completedTasks; }

    public Double getPersonalScore() { return personalScore; }
    public void setPersonalScore(Double personalScore) { this.personalScore = personalScore; }
}